From 14b51033fc9ca2188a0140893a56c0a249b3e118 Mon Sep 17 00:00:00 2001
From: Ilion Beyst <ilion.beyst@gmail.com>
Date: Sun, 24 Jul 2022 18:09:04 +0200
Subject: add placeholders for empty lists

---
 web/pw-server/src/routes/users/[user_name].svelte | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'web/pw-server/src/routes/users/[user_name].svelte')

diff --git a/web/pw-server/src/routes/users/[user_name].svelte b/web/pw-server/src/routes/users/[user_name].svelte
index b6bd34e..c0267b8 100644
--- a/web/pw-server/src/routes/users/[user_name].svelte
+++ b/web/pw-server/src/routes/users/[user_name].svelte
@@ -41,6 +41,9 @@
       </li>
     {/each}
   </ul>
+  {#if bots.length == 0}
+    This user does not have any bots yet.
+  {/if}
 </div>
 
 <style lang="scss">
-- 
cgit v1.2.3

